package com.kgcx.order.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(
        name = "schedule"
)
public interface ScheduleClient {

    @GetMapping({"v1/schedule/settings/getBookParame"})
    Map<String,BookParame> getBookParame(@RequestParam("city_id") Long cityId);

    @GetMapping({"v1/reserve/config/checkRecord"})
    Boolean checkRecord(@RequestParam("order_type") Integer orderType,@RequestParam("city_id") Long cityId,@RequestParam("auto_type") Integer autoType,@RequestParam("plan_depart_time") Long planDepartTime);
}